#pragma once

#include <ostream>

namespace cpac
{
	
	struct battery
	{
		bool is_valid;
		
		battery& operator=(bool in_valid)
		{
			is_valid = in_valid;
			return *this;
		}
		
	};

}

std::ostream& operator<< (std::ostream& out_stream, cpac::battery const& in_battery)
{
	out_stream << "I am a valid battery! \n";
	return out_stream;
}
